<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>万达营销流程管理系统</title>
<link href="${pageContext.request.contextPath}/Admin/second/css/css.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="js/ie6png.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('div,ul,li,a,p,img,body,dl,dt,dd');</script>
<![endif]-->
<script type="text/javascript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
</script>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);
var con=document.getElementById("con_"+name+"_"+i);
menu.className=i==cursel?"hover":"";
con.style.display=i==cursel?"block":"none";
}
}
//-->
</script>


<script type="text/javascript" src="${pageContext.request.contextPath}/Admin/second/js/jquery.js"></script>
<script type="text/javascript" >

	
	var openingReportId ;
	
	function xiugaiState(){
		
		openingReportId = $("#openingReportId").val();
	
		window.location = "../openingReport/updateOpeningReportState.do?pid="+openingReportId; 

	}
	$(function(){
		$("#aselect").click(function(){
			var value=$("#title").val();
			location.href="${pageContext.request.contextPath}/openingreport/selectOpeningreportLike.action?value="+value;	
		})
		
		$("#ayes").click(function(){
			var id=$("#openingreportid").val();
			location.href="${pageContext.request.contextPath}/openingreporthouseparticular/selectOpeningreporthouseparticularAllYes.action?id="+id;
		})
	})
</script>




</head>
<body style="background:#fff;">
<br />
<div style="width:1000px;" class="tbox01 boxcenter">
  <div class="tbox02">
    <dl>
      <dt></dt>
      <dd>
        <div class="tbox02menu">
          <ul>
           
          </ul>
        </div>
      </dd>
    </dl>
  </div>
  <div class="tbox03">
    <div class="tbox04a">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="47%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr align="left" valign="top">
                <td><img src="${pageContext.request.contextPath}/Admin/second/images/op5_1.gif" /></td>
                <td class="ybox08td2"><ul>
                    开盘报告审核
                  </ul></td>
                <td class="ybox08td3"></td>
                <td><img src="${pageContext.request.contextPath}/Admin/second/images/op5_4.gif" /></td>
              </tr>
            </table>
            <div class="ybox08div">
              <div class="tbox05 margb7">
                <dl>
                  <dt>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      

                    </table>
                  </dt>
                </dl>
              </div>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="ybox06table">
                <tr>
                  <td class="ybox06td01">开盘报告名称</td>
                  <td class="ybox06td01">开盘时间</td>
                  <td class="ybox06td01">房间名称</td>
                  <td class="ybox06td01">房间单价</td>
                  <td class="ybox06td01">房间总价</td>
                  <td class="ybox06td01">付款方式</td>
                  <td class="ybox06td01">审核状态</td>
                  <td class="ybox06td01">审核</td>
                </tr>
                <%int i=1; %>
                <c:forEach items="${openingreporthouseparticularCustoms }" var="openingreporthouseparticularCustom">
                
	                <tr>
	                  <input type="hidden" id="openingreportid" value="${openingreporthouseparticularCustom.openingreportid}"/>
	                  <td class="ybox06td03bcenter123123">${openingreporthouseparticularCustom.openingreport.title }</td>
	                  <td class="ybox06td02wleft"><fmt:formatDate value="${openingreporthouseparticularCustom.openingreport.begintime }" pattern="yyyy-MM-dd"/></td>
	                  <td class="ybox06td02wcenter">${openingreporthouseparticularCustom.roomCustom.number }</td>
	                  <td class="ybox06td03bcenter123123">${openingreporthouseparticularCustom.roomprice }</td>
	                  <td class="ybox06td02wleft">${openingreporthouseparticularCustom.roomtotal }</td>
	                  <td class="ybox06td02wcenter">${openingreporthouseparticularCustom.payMentTypeCustom.name }</td>
	                  <td class="ybox06td02wcenter">${openingreporthouseparticularCustom.openingreport.state }</td>
	                  <td class="ybox06td02wcenter"><a href="#" id="ayes">通过</a></td>
	                </tr>
                
                </c:forEach>
                
              </table>
              <div class="nums boxcenter black12"><a href="#" class="hovera">首 页</a><a href="#">上一页</a><a href="#">下一页</a><a href="#">尾 页</a>&nbsp;&nbsp;第1/3页&nbsp;共25条&nbsp;&nbsp;转到
                <input name="textfield2" type="text" id="textfield3" size="2"/>
                           页<a href="#">跳 转</a></div>
            </div></td>   
        </tr>
      </table>
    </div>
  </div>
</div>
</body>
</html>
